You can update your Mac by opening the System Preferences app, where you'll find the "Software Update" option.
Your browser is probably the most-used app on your device, so it’s important to install software updates for both the browser and the OS to maintain proper security ...