fix(media) Media API upgrade to new format