update datapoint api