clean image fields in database after delete image