Added many-to-many relationship between products and media