Updating main app.