added Patch165 and update sqlite3 files