Implement EEPROM write