Upgrade packages and add proper stream uploading