update data with image files