An animal's base stats (hit dice, bab, &etc) advance as per the Improving Monsters section. A Druid's animal companion remains an "animal" so continues advancing its basic stats, hit dice, &etc as a Cleric per the Improving Monsters section. This base improvement is separate and stacks with the...