Pattern Composite
Update Program for composite