Metadata sync and framework upgrade