update stream class