update progress bar layout