updated trie & test client