Introduction
Open System Preferences and click Software Update. Check the box next to "Automatically keep my Mac up to date".
Instructions
2) Click Software Update.
3) Check the box next to "Automatically keep my Mac up to date".
Outcome
The operating system on your Mac, as well as your apps from the Mac App Store, will automatically be kept up to date.