cookie and elapsed time update