Updated database file to use new schema