updating database type to sqlite3