Fixed error reporting & fixed db updater