update search_engine.py