softwareupdate -l to see if there are macOS updates available.

softwareupdate -ia to install all updates.

sudo jamf policy to run all outstanding policies and updates for the apps,

sudo jamf recon to update the inventory on the server.