update engine structure