Login to your WHM and follow

whm > cPanel/WHM Updates

Automatic (STABLE tree)

cPanel Package Updates

Automatic

Security Package Updates

Automatic

save the changes
then login to ssh and run upcp
/scripts/upcp