upload with progress bar part 2