Revert document