code: def upgrade():
      '''
      "Upgrade" packages
      '''
      DETAILS = _load_state()
      pkgs = uptodate()
      DETAILS['packages'] = pkgs
      _save_state(DETAILS)
      return pkgf upgrade():
      '''
      "Upgrade" packages
      '''
      DETAILS = _load_state()
      pkgs = uptodate()
      DETAILS['packages'] = pkgs
      _save_state(DETAILS)
      return pkgs
docs: "Upgrade" packages