Updated h3d lib