Fixed the sequence diagrams add index

TODO: class diagram