Update search function in DB & service  this function use