Fix for saving collections

When I tried to save the collection, it doesn't put the ID in the URL. But it does send the ID in the payload. This looks for it there.