delete then add image