fix(bpmn-model-api): use setDefinitions method in examples

related to #CAM-1703