Update cod model