Updating Main activity