update global exception