Update tamplate.php