update code for OpenStreetMap