update Jeff's code revision of hhcap/CDS to Yuanchu/CDS