update main activity line 220