BMW 3 Series E30 - Engine management system conversion. - Ashley1

We have just changed a motor in a 320i to a 325i.

The car runs ok but i am running the old air flow meter and ecu.

Does anyone how to convert to the 325 ecu as the wiring is all different?