updated the editor demo