code: public void update(final List<Long> groupTargetCounts, final Long totalTargetCount) {
          this.groupTargetCounts = groupTargetCounts;
          this.totalTargetCount = totalTargetCount;
  
          if (groupTargetCounts != null) {
              long sum = 0;
              for (Long targetCount : groupTargetCounts) {
                  sum += targetCount;
              }
              unassignedTargets = totalTargetCount - sum;
          }
  
          draw();
  
      }
docs: Updates the pie chart with new data
  
  @param groupTargetCounts
  list of target counts
  @param totalTargetCount
  total count of targets that are represented by the pie