update error information