Refine the sequence diagram