Updated 'add collection' for new API