update for newline