Update threading.