update cart(position)