updated application controller