update progress bar when loading items