update class formatting