dbm update to handle new table schema