map for upcountry and update locations_as_json