Updates to measure time;