fix ppm update and mail