core.c update name of enum type