fix https in upload urls