updates to divide the DB interface