Revert session changes