Update cp.php