revert session clear in update flow