update Templete