upgrading gems