allow write tlv instance + bug fix
Merge pull request #6 from sbernard31/writeinstance

allow write tlv instance + bug fix