Update for slider