change collection and collectiontype linking