Update application_controller