Update editor.hpp