add some debugging to updater