added support to edit a template