cdm tutorial updated