code: def _update_import_on_remote(stage, remote, jobs):
      if stage.is_repo_import:
          raise InvalidArgumentError(
              "Data imported from other DVC or Git repositories can't "
              "be updated with --to-remote"
          )
  
      stage.save_deps()
      url = stage.deps[0].def_path
      odb = stage.repo.cloud.get_remote_odb(remote, "update")
      stage.outs[0].transfer(url, odb=odb, jobs=jobs, update=True)
  
imports: from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
label_desc: Use image node_id 1 for calling a global function with example usage: _update_import_on_remote(stage, remote, jobs) without return types