updated media to use master key