Update thread engine.