update two templates