update polygons