Use Software Update to install updates and upgrades for macOS and its built-in apps, including Safari.
Before installing new software, it's a good idea to back up your Mac.
To check for new software, open Software Update. It's in System Settings (or System Preferences), which you can open from the Apple menu in the corner of your screen:
If Software Update finds new software, click the button to install it, then enter your administrator password when prompted. During installation, your Mac might show a progress bar or blank screen several times, and you should avoid putting it to sleep or closing its lid.
If Software Update says that your Mac is up to date, then no new software is currently available for your Mac model. Software Update shows only software that is compatible with your Mac.
If you don't see an item named Software Update in System Settings or System Preferences, click the Spotlight icon in the corner of your screen, then type System Update in the search field. From the search results, choose Software Update.
If your older Mac doesn't include Software Update, use the App Store app instead. It's in your Applications folder. Click the Updates tab in the App Store to check for updates, or search for software by name.