update searchhistory