upgrades the component to latest version