--update should be the default option when adding document, --replace overwrite this when present.
--update should be the default option when adding document, --replace overwrite this when present.