add update information command in mainActivity.