pwm tool updated