backend: support for editing docs