add an issue: move Application.updateState to ApplicationManagement