modify templete