upload mainactivity