Fix resource upload issue, add progress indicator during upload