Record last sync time.