update pwm test