Update core/application.go