update cnograph.