completing the apply and revert flow