Edit diary lines