add option to run a callback when dirty history record timestamp changes