Update pmt.cpp