If there is an engine number already recorded on your logbook and you have changed the engine so it's now a different number then yes, if no number recorded then I wouldn't bother.
If you have change fuel type diesel to petrol etc then yeah you have to