Update core.template.php