Update pgm_interface.c