added update stream boilerplate