now delete image when record is deleted