adjustments to database schema