Upgrade view_component struct