Update the elapsed time