update editor's ui