update progress slider through model