Added the sequence diagram for the events function
Merged