add a simple API to callback with updated data values.

I'll .. improve this later.