updated the editor