Dogma cannot change, e.g. the Trinity.
Doctrine can change, e.g. the Doctrine of the Immaculate Conception.
Teachings are meant to pass along the dogma and doctrine, they may change to best present to the current generation.
Laws exist to protect the dogma and doctrine.
You are right, I was wrong! Thanks for setting me straight!