update triples generation

triple generation