update model spec of favorite_images