Update slider.