Adds records to hashtable