poll + updating leaflet layers func