update SQL query for getPointsWithinPolygon