Update NextPalindrome