Update format of output text file