update suffix tree