update (newValue) {
    const oldValue = this.getInternalValue()

    this.setValue(newValue)

    this.editor._onAction('transform', {
      path: this.getInternalPath(),
      oldValue,
      newValue: this.getInternalValue()
    })
  }
Replace the value of the node, keep it's state
@param {*} newValue