Update pm.c