update editor demo