code: public void update() {
          if (polygon != null) {
              if (isDeleted()) {
                  remove();
              } else {
  
                  List<LatLng> points = converter.getPointsFromMarkers(markers);
                  polygon.setPoints(points);
  
                  List<List<LatLng>> holePointList = new ArrayList<List<LatLng>>();
                  for (PolygonHoleMarkers hole : holes) {
                      if (!hole.isDeleted()) {
                          List<LatLng> holePoints = converter
                                  .getPointsFromMarkers(hole.getMarkers());
                          holePointList.add(holePoints);
                      }
                  }
                  polygon.setHoles(holePointList);
              }
          }
      }
docs: Update based upon marker changes