Editing a model at runtime

Hello,
up to engine version 1.8.1 it was possible to modify a model, for example to add a node and a mesh, simply make changes on the model instance and reassign it to the model component.
From version 1.8.2, however, this is no longer possible.

I have identified two possible workarounds:
1: modify the engine by removing
if (this._model === value) {
return;
}
2: cancel the model and then reassign
var model = entity.model.model;
// Edit the model here…
entity.model.model = null; // workaround to update the model
entity.model.model = model;

There is a more standard way to update a model?