update ranking of search results