Update core.go