Update editTemplate.php