#NEWLINE# def update( self , _id , key = None , value = None , **pair ) : #NEWLINE# #INDENT# '\n        Update the element ID for the key and value.\n        \n        :param key: The index key. \n        :type key: str\n\n        :param value: The key\'s value.\n        :type value: str or int\n\n        :param pair: Optional key/value pair. Example: name="James"\n        :type pair: key/value pair\n\n        :rtype: bulbs.neo4jserver.client.Neo4jResponse\n\n        ' #NEWLINE# ( key , value ) = self . _get_key_value ( key , value , pair ) #NEWLINE# for result in self . get ( key , value ) : #NEWLINE# #INDENT# self . remove ( self . index_name , result . _id , key , value ) #NEWLINE# #UNINDENT# return self . put ( _id , key , value )