[T] adds update_document_attributes unit tests
  [T] adds integration test for update_document_attributes
  [lib] updates documentation for update_document_attributes to be a little clearer