refactor progress bar data