creating collections on repository save