update demo
update mainactivity