Updated the slider