Fixed bug when generating update streams with more than one thread