Update templete.php