code: def policyChange(self, updateParams, func):
  		
  		for k,v in updateParams.items():
  			k = k.replace('-','_')
  			c = globals()[k](v)
  			try:
  				self.defaultPolicies[k] = getattr(c,func)(self.defaultPolicies[k])
  			except Exception, e:
  				raise
docs: update defaultPolicy dict