Adding new image, removing duplicate