revise template trigger