changed database to sqlite