updated the exit option.