update serching method