SQLite functionality update