updated text ring typedefs to enums