format tidy and update