upgrade metadata.json