Change enum type