changes db to sqlite3