modify db to sqlite3