Update codec's headers