proper relationship handling on collection.create