changed progressBar update to trigger

to this point in every loop there was a new entity created