update check palindrome