fixed progress bar update