Update the suffix tree representation