code: def update(self, ii):
      self.mmap[self.idx[ii - 1]] = True
  
imports: import logging
  import os
  import os.path
  import tempfile
  import time
  from collections.abc import Iterable
  from threading import Thread
  import numpy
  from ._logging import logger
  from .check import _check_option
  from .config import get_config
label_desc: Use image node_id 2 for calling the _PBSubsetUpdater obj's underlying member method code with example usage: obj.update(ii) without return types