Update media/link functionality to match up with schema