updating to the newer mapbox API