update object and serach inde