Update Longest_Palindromic_Substring