code: @Override
      public void update() {
          mTotalValue = 0;
          for (PieModel slice : mPieData) {
              mTotalValue += slice.getValue();
          }
          onDataChanged();
      }
docs: Resets and clears the data object.