code: def update_fname(d):
      d["im3"].meta["filename_or_obj"] = "file3.nii.gz"
      return d
  
file_path: MONAI/tests/test_resample_to_matchd.py
imports: from __future__ import annotations
  import os
  import shutil
  import tempfile
  import unittest
  from monai.transforms import Compose, CopyItemsd, EnsureChannelFirstd, Invertd, Lambda, LoadImaged, ResampleToMatchd, SaveImaged
  from tests.lazy_transforms_utils import test_resampler_lazy
  from tests.utils import assert_allclose, download_url_or_skip_test, testing_data_config
label_desc: Use image node_id 1 for calling a global function with example usage: update_fname(d) and returns: d