Update search when input changes.