update to hash table