code: public void update() {
          if (polyline != null) {
              if (isDeleted()) {
                  remove();
              } else {
                  List<LatLng> points = converter.getPointsFromMarkers(markers);
                  polyline.setPoints(points);
              }
          }
      }
docs: Update based upon marker changes