#NEWLINE# def update_existing_pivot( self , id , attributes , touch = True ) : #NEWLINE# #INDENT# '\n        Update an existing pivot record on the table.\n        ' #NEWLINE# if ( self . updated_at ( ) in self . _pivot_columns ) : #NEWLINE# #INDENT# attributes = self . set_timestamps_on_attach ( attributes , True ) #NEWLINE# #UNINDENT# updated = self . _new_pivot_statement_for_id ( id ) . update ( attributes ) #NEWLINE# if touch : #NEWLINE# #INDENT# self . touch_if_touching ( ) #NEWLINE# #UNINDENT# return updated