def update_city(city, mapping2):
    """ For a given city return the correct city name using "mapping2". """
    try:
        city = city.encode('utf8')
    except:
        pass
    if city in mapping2:
        city = mapping2[city.decode('utf8').encode('utf8')]
    return city