updatedbinarysearch