update pointers on c ch1
add codes of ch1 & ch2