Edit search method