finalized custom type update
use makePairs for enum values as well
single edit for all custom types (easier to modify)