Currently I have something similar to the following that creates attributes :
// $this->_catalogSetup -> Mage_Catalog_Model_Resource_Setup $this->_catalogSetup->addAttribute( Mage_Catalog_Model_Product::ENTITY, 'my_attribute_code', array( 'type' => 'int', 'filterable' => true, 'label' => 'My Attribute', 'input' => 'select', 'option' => array('values' => array( 'My Option 1', 'My Option 2' )), 'required' => false, 'sort_order' => 1, ) );
However, obviously every time I run this, it create those options again. I would like this code to be executed multiple times and only ever do an "update". This works fine for the rest of the attribute's details with the exception of the options, is there a way to make it update the options, rather than add to?