set cover image id in metadata