update the error info