Update timeseries.hpp