Updating SQLite reference