feature #1678: Moved update info of datastore, and minor work on monitor callback function
feature #1678: Remnoved unneeded forward declaration