Update the error management