change ecCCResources table data structure after long time thought.