code: def add_update(
      self,
      update: _data_transfer._AsyncData,
      idx: tuple[slice, ...],
  ) -> None:
      self.updates.append((update, idx))
  
imports: import contextlib
  from itertools import chain
  from typing import Any, Iterator, Optional, Union
  import numpy
  from cupy._core.core import ndarray
  import cupy._creation.basic
  import cupy._manipulation.dims
  from cupy.cuda.device import Device
  from cupy.cuda.stream import Event
  from cupy.cuda.stream import Stream
  from cupy.cuda.stream import get_current_stream
  from cupyx.distributed.array import _modes
  from cupyx.distributed.array import _index_arith
  from cupyx.distributed.array import _data_transfer
  from cupyx.distributed.array._data_transfer import _Communicator
label_desc: Use image node_id 4 for calling the _Chunk obj's underlying member method code with example usage: obj.add_update(update, idx) without return types