In case I need to revert...
used the 'alter' function to update frequency map, or initialise a key value pair