Update database to sqlite3