`createOption` is called `addOption` in Magento, deprecate `createOption`
add methods for `ProductAttribute` `create` and `update`