Update metadata.
Resolve link references.