Update ccp_functions.php