Update ntds.cpp