Use new match metadata parameter.
Use the new write metadata params.