update cg and core