edit last line