Fixed issue when using STI and changing `type` the `modelName` was not being updated