Handle updating of progress bar.