Explain what update_clock() does.