The first argument must be the current property name (unmodified). The second argument must be an object containing the new data. For example:
{
name: 'New property name',
defaultValue: 'New property value'
}
It is in this object that the values need to be changed.
To change variant properties and values: