Ubuntu developers release updates of particular packages on a regular basis, those meant for security and bug fixing. It’s recommended to upgrade the system on a regular basis. This is made by the consequence of two commands, united into a single one, for a handier use:
sudo apt-get update && sudo apt-get upgrade -y
This action must be performed by a user with root rights.
When the update is completed the following commands may be run
sudo apt-get autoclean && sudo apt-get autoremove
They help to remove unused packages if any, and to clean the archive of packages.