Update mtz.cpp