updating output formatting