Update slider on change