changes to database structure