edit search with category