update cob and cod