revert documents