def set_configs(self, key, d):
        """Set the whole configuration for a key"""
        if '_config' in self.proxy:
            self.proxy['_config'][key] = d
        else:
            self.proxy['_config'] = {key: d}