Updated the config example and modified the Flask app to correctly update its in-memory copy of the saved queries.