Update coreRemove.c