Update mm.cpp