Updated the sequence diagram and class diagram