modify progress bar