code: def update(self, data):
          
          if data:
              _dumps = self._dumps
              zargs = [
                  _dumps(x) if (i % 2 == 1) else x
                  for y in data.items()
                  for i, x in enumerate(reversed(y))
              ]
              return self._client.zadd(self.key_prefix, *zargs)
docs: Adds @data to the sorted set
              @data: #dict or dict-like object