Added db error register and updated submodules