update cart page but still has some problems