edit undo for done