updating leaflet plugin