Fixed deferral queue for data callbacks. Added post_update hook to historyiface.