Update the 3rd advanced example to handle changes in SOS session flow.