modify hashtable