search and text changes