add on_data_update callback function to core