code: def update(self, data):
          
          for key, value in data.items():
              setattr(self, key, value)
docs: Update the current memory record with the given data dict.
  
          Args:
              data (dict): Data dictionary to update the record attributes with.