updated minimal class diagram