upload is working with progress bar