Implement document update operation and cover it with tests.
Implement document delete operation and cover it with tests.
Implement document check operation and cover it with tests.