feat(core_upload_update): use flag parsing library

convert to use the flag parsing library instead of lots of positional
args.