Added update app functionality