Added support to attach a default lifecycle and promote to default state