Pwm period upd