added back updateTimeSeries