update main app