Update suffix tree