update search page to use sync ctx