update core class