Update cpm graph