update stream standardized error handling