How to add metadata to watermarking