class_docstr: Update the label in the recorder
  
  Assumption
  - The label is generated from record_temp.SignalRecord.
class_docstr_tok: ["Update","the","label","in","the","recorder","Assumption","-","The","label","is","generated","from","record_temp.SignalRecord","."]
code: def get_update_data(self, dataset: Dataset) -> pd.DataFrame:
      new_label = SignalRecord.generate_label(dataset)
      cb_data = _replace_range(self.old_data.sort_index(), new_label)
      return cb_data
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Optional
  import pandas
  from qlib import get_module_logger
  from qlib.data import D
  from qlib.data.dataset import Dataset, DatasetH, TSDatasetH
  from qlib.data.dataset.handler import DataHandlerLP
  from qlib.model import Model
  from qlib.utils import get_date_by_shift
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.record_temp import SignalRecord
label_desc: Use image node_id 2 for calling the LabelUpdater obj's underlying member method code with example usage: obj.get_update_data(dataset) and returns: cb_data