line_ed update with non-working write_lines