update editor UI