Update PWM polarity