error type update