Apply formatting and change the update exit code to a static.