switched media to be media id in stories