Update dcpfunctions.php