modify autosave feature