class modified to image_upload field