update core files