fix update for slider