update removed function in PMG