code: def update(self, action_res_list):
      for mot_id, action_res in action_res_list:
          if mot_id in self.action_history:
              if (
                  int(action_res["class"]) != 0
                  and int(self.action_history[mot_id]["class"]) == 0
              ):
                  continue
          action_info = self.action_history.get(mot_id, {})
          action_info["class"] = action_res["class"]
          action_info["life_remain"] = self.frame_life
          self.action_history[mot_id] = action_info
  
file_path: PaddleDetection/deploy/pipeline/pphuman/action_utils.py
label_desc: Use image node_id 4 for calling the ActionVisualHelper obj's underlying member method code with example usage: obj.update(action_res_list) without return types