code: def update(self, resource, uri=None, force=False, timeout=-1, custom_headers=None):
          
          logger.debug('Update async (uri = %s, resource = %s)' %
                       (uri, str(resource)))
          if not uri:
              uri = resource['uri']
  
          if force:
              uri += '?force=True'
  
          return self.do_put(uri, resource, timeout, custom_headers)
docs: Makes a PUT request to update a resource when a request body is required.
  
          Args:
              resource: Data to update the resource.
              uri: Resource uri
              force: If set to true, the operation completes despite any problems
                  with network connectivity or errors on the resource itself. The default is false.
              timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation
                  in OneView; it just stops waiting for its completion.
              custom_headers: Allows to add custom HTTP headers.
  
          Returns:
              A dict with the updated resource data.