Added update cart functionality