pwm demo app changes