code: def set_many(self, block, update_dict):
          
          for key, value in six.iteritems(update_dict):
              self.set(block, key, value)
docs: Update many fields on an XBlock simultaneously.
  
          :param block: the block to update
          :type block: :class:`~xblock.core.XBlock`
          :param update_dict: A map of field names to their new values
          :type update_dict: dict