update search.py and form