trends computation updated