update solution for Valid Palindrome