cut newline in update format