Update NCM.cpp