Adding Image and changing index