updated MediaManager so all occurences of media are replaced with product