Update metadata.md

Corrected code snippets