Why did I remove `prepare-updated`? Surely no good reason. Also, add a delete function for documents.
Why did I remove `prepare-updated`? Surely no good reason. Also, add a
delete function for documents.

Gastove/doctopus