updating search result file