Updating uml class diagram