update index and prototyp  for _serach