update search & sorting