Update 2D binary search