Update stream api