Updating to sqlite3