update color for progress bar