If you change it immediately you'll get phase noise or cycles where it's high or low for the remained of the period. The timer normally has shadow registers which copy to the live ones at the update event.