Update search.cc