new changes for the editor