code: function defaultUpdateFunction(instance, data) {
      if (instance.isMatreshkaArray) {
          instance.recreate(data);
      } else if (instance.isMatreshkaObject) {
          instance.setData(data, { replaceData: true });
      } else {
          // for other objects just extend them with given data
          nofn.assign(instance, data);
      }
  }
docs: the function is used when no update function is given