revamped dict, added example of broken updateCountries implementation