change relation.appendMember to use the undo system, and update various places as...