Editing and Saving a Template in Endpoint