fix slider update issue