change controller for the editor