edit image and delete image