adding automatic activation and invalidation

automatic invalidation of all sub-components