updating output format