update Substring_with_Concatenation_of_All_Words