update profile search function
update profile search function2