update elapsed time generation