update progress bar color