Pwm write upd