updating the pwm example