updated substrings