rename pgm