Update TemplateManagerPage.php