Apply format changes