update for slider