Updated SQLite (local database code)