update to work with spree 2.2