updated editor template