Quick updates to back-end API

Mostly work with subdocuments research