update the format and indent size.

update the indent size from 8 to 4.
move the braces to a new line.