updated watermarking code