edit templete