add new image and remove images