I think the articles here are explaining it quite well:
Step 4: Configure Group Policy settings for automatic updates
Walkthrough: Use Group Policy to configure Windows Update for Business
Hope this helps with your query!
--If the reply is helpful, please Upvote and Accept as answer--