code: def update_policy(self,cspDefaultHeaders):
  		
  		try:
  			self.check_valid(cspDefaultHeaders)
  			if self.inputs is not None:
  				for p,l in self.inputs.items():
  					cspDefaultHeaders[p] = cspDefaultHeaders[p]+ list(set(self.inputs[p]) - set(cspDefaultHeaders[p]))
  				return cspDefaultHeaders
  			else:
  				return self.inputs
  		except Exception, e:
  			raise
docs: add items to existing csp policies