Update potega_pm.cpp