solved a bug with the cart update