Add State Machine Diagram