updated exit process