changed download and upload