updated DbTable class