Update timing code.