update timespan functionality