update progress bar and async download