autosave and generator update