updating icon on main page