Fix updateCMSName() and provide meaningful documentation.