update some search functions