Update cart before checkout. Fix if update cart button not pressed