Update the SM nearest neighbour doc.