update draft CoAP generator