main app update