mass update for PWM and clock freq (again)