adding classes to deal with updating the progress bar in cache