remove search elements and update