code: def update(self, *args, **kwargs):
          
          if args:
              self.database.hmset(self.key, *args)
          else:
              self.database.hmset(self.key, kwargs)
docs: Update the hash using the given dictionary or key/value pairs.