changing db to sqlite3