db classes update