update pwm tool