Upgrade of gems