adapting editor and templates to new models tree