add table color index for reference states
add translations for reference states