catch errors in updater