edit search and stat