Add auto revert