update the image model table.