Update to dependencies and how upload works to get a consistently reliable upload.