added metadata sync code.
Merge branch 'metadata-update'

Conflicts:
	README.md