Update cart.erl