Update server API
Improve api and fix up browser/editor