update exit task (not finished)