DOC-2596 Fix typo in the Lifecycle text and code