updates of using HashTable