update searchHandler