update 2d