code: def target_update(target, deps, cmd):
      """Update a target with a given command given a list of dependencies.
  
      target_update(target,deps,cmd) -> runs cmd if target is outdated.
  
      This is just a wrapper around target_outdated() which calls the given
      command if target is outdated."""
  
      if target_outdated(target, deps):
          system(cmd)
  
imports: import os
  import sys
  import errno
  import shutil
  import random
  import glob
  from IPython.utils.process import system
label_desc: Use image node_id 13 for calling a global function with example usage: target_update(target, deps, cmd) without return types