update the revert