adding the collection key to the related pages data