feat(archive): implement autosave api