update core.patch