update 3d joints positions to 2d transfrom function