class diagram revision