changing database to sqlite