updating logic for progress bar class system