changes to hashmap of sets