update newlines