code: def update(self, entry_id, new_label):
          
          self.data[entry_id] = (self.data[entry_id][0], new_label)
          self.modified = True
          for callback in self._update_callback:
              callback(entry_id, new_label)
docs: Updates an entry with entry_id with the given label
  
          Parameters
          ----------
          entry_id : int
              entry id of the sample to update.
  
          label : {int, None}
              Label of the sample to be update.