Update PiEstimator example