update progress bar (THIS ROCKS