Upgrade repository