update the error output