update exit flow