Update cmsbase.php