Edit last line