Polygon bug

had to fix a polygon update bug