Update engine.