update implement search function