update core file