Putting changes in a template for add/update