modified record model including list of image id