update extract.cuminc code