Update slider, changing the data