To update, use this command (make sure you are root):

yum -y install update