edits to templates