update adapter of search