def update(self, _id, key=None, value=None, **pair):
        # TODO: This should be a Gremlin method
        key, value = self._get_key_value(key,value,pair)
        for result in self.get(key,value):
            self.remove(self.index_name, result._id, key, value)
        return self.put(_id,key,value)
Use like this:
dataset/ETHPy150Open espeed/bulbs/bulbs/neo4jserver/index.py/Index.update--crossover with--dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/b2/b2http.py/B2Http.post_json_return_json