updating image on index page