Moved the logic of placing a document in a collection of Document in the Collection#add. Add Collection#updateIdLink()