Update CMSExtension.php