updating the engine