added refresh for progress bar