update cart visibility