Make config only save on changes