Update components to the new port api