added comments and examples to demo diff between webhook and composite
prevent write of empty data in composite and webhook examples
prevent write of empty data in composite and webhook examples