update suffix_tree