Main activity updated