update for app main