Update search functionality.