leaflet upgrade