Update search2DMatrix