edit with index, title html and add image