fixing the image delete in update profile