docstr: the image_id is the unique ID of an radiographic image
  If the image has a label/segmentation, its label/label_id corresponds to its image_id
docstr_tok: ["the","image_id","is","the","unique","ID","of","an","radiographic","image","If","the","image","has","a","label\/segmentation",",","its","label\/label_id","corresponds","to","its","image_id"]
code: def updateLabelInfo(
      self, image_id: str, tag: str, params: dict
  ) -> int:
      """
      the image_id is the unique ID of an radiographic image
      If the image has a label/segmentation, its label/label_id corresponds to its image_id
      """
      embeddedParams = self.embeddedLabelContentInParams(params)
      logging.info(f"Sending updated label info: {embeddedParams}")
  
      url = f"{self.serverUrl}/datastore/updatelabelinfo?label={quote_plus(image_id)}&tag={quote_plus(tag)}"
      headers = CaseInsensitiveDict()
      headers["Content-Type"] = "application/x-www-form-urlencoded"
      headers["accept"] = "application/json"
  
      try:
          response = requests.put(
              url, headers=headers, data=embeddedParams
          )
      except Exception as exception:
          logging.warning(
              "{}: Update meta data (image id: '{}') failed due to '{}'".format(
                  self.getCurrentTime(), image_id, exception
              )
          )
          return None
      if response.status_code != 200:
          logging.warn(
              "{}: Update meta data (image id: '{}') failed due to response code = {}) ".format(
                  self.getCurrentTime(), image_id, response.status_code
              )
          )
          return response.status_code
  
      logging.info(
          f"{self.getCurrentTime()}: Meta data was updated successfully (image id: '{image_id}')."
      )
      return response.status_code
  
file_path: MONAILabel/plugins/slicer/MONAILabelReviewer/MONAILabelReviewerLib/MonaiServerREST.py
imports: import datetime
  import json
  import logging
  import os
  from urllib.parse import quote_plus
  import requests
  from requests.structures import CaseInsensitiveDict
label_desc: Use image node_id 8 for calling the MonaiServerREST obj's underlying member method code with example usage: obj.updateLabelInfo(image_id, tag, params) and returns: response, response, None