updated 3d matcher