docs: def update(self, data=None, timeout=-1, force=''):
          """Updates server profile template.
  
          Args:
              data: Data to update the resource.
              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.
              force: Force the update operation.
  
          Returns:
              A dict with the updated resource data.
          """
          uri = self.data['uri']
  
          resource = deepcopy(self.data)
          resource.update(data)
  
          # Removes related fields to serverHardware in case of unassign
          if resource.get('serverHardwareUri') is None:
              resource.pop('enclosureBay', None)
              resource.pop('enclosureUri', None)
  
          self.data = self._helper.update(resource, uri, force, timeout)
  
          return self