update sample for u3d