in ActiveRecord::Enum module, modified declaration way for updating an enum to take in additional attributes.