Changes in db classes