updated sequence diagram