make a change to hashtable's put() so it works with prepopulation