update search functions