Added method 'update' to document resource

Changes:
* Added method 'update' to document resource
* Added several tests
* Updated Readme