minor changes in database structure