Update mainActivity