update whoosh example