Update Boundary between 2D and 3D