#296: add debugging info for DB update.