update search rule