Upgrade for spree 2.2