upgrade leaflet