update the save and dirty marking code in atc
Merge pull request #35 from oerpub/fix3-atc-base

update the save and dirty marking code in atc