edits template