Update core.c