UpdateApp function finished