updated the editor template