save relation metadaa