service container for media factory and update media class