updated template with texteditor