Update the editor