Update write example to construct DataPoint objects