added another insert, but need to change later, so that it can dynamically update the items and carts together