update for editor