added insert routine for cloudsearch client