Added update app method to Controller