fixed datastream update