Update to a version with writeSeries