To update you CentOS 6/7 to the latest version please use this command

This command will show you all that will be updated and you will need to confirm that you want to proceed with the update

yum update --enablerepo=cwp --enablerepo=epel

This command will do the update without any questions

yum -y update --enablerepo=cwp --enablerepo=epel