Update MediaFactory.scala