update editor