code: def test_update(dvc, mocker):
      cli_args = parse_args(
          [
              "update",
              "target1",
              "target2",
              "--rev",
              "REV",
              "--recursive",
              "-j",
              "8",
          ]
      )
      assert cli_args.func == CmdUpdate
      cmd = cli_args.func(cli_args)
      m = mocker.patch("dvc.repo.Repo.update")
  
      assert cmd.run() == 0
  
      m.assert_called_once_with(
          targets=["target1", "target2"],
          rev="REV",
          recursive=True,
          to_remote=False,
          no_download=False,
          remote=None,
          jobs=8,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_update(dvc, mocker) without return types