update action for application controller