update for function get_editor