update for spree 2.x