updating upload

fixed to work with new auth scheme