I'm sure is centos command:
yum update 'package name/s'
Used to update the specified packages to the latest available version. If no package name/s are specified, then yum will attempt to update all installed packages.
If the --obsoletes option is used (i.e. yum --obsoletes , yum will process obsolete packages. As such, packages that are obsoleted accross updates will be removed and replaced accordingly.
From here: https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-yum-useful-commands.html