updated hashtable_insert