delete the old pic from slideshow and added new pic