ch5:update ccube source code