Added method 'update' to document resource
Added initRegistration test
Updated doc
Merge pull request #17 from codeback/master

Added method 'update' to document resource