Update Function CreateComponent