update time series and added functions for latent percent calculations