update trigram complete