Update logic from ProgressBar