edit application controller