update search.py