update output formatting