Change families in model group

hey guys
i’m still so new in Dynamoo, but can any one help me to use dynamo to replace some doors family in a model group without remove these family from the group or without ungroup it
thanks a lot