Update to AppController