update helpers, corrected cart(purchase)