Changing existing metadata with XML

I would like to know if it is possible to change the metadata that already exists in the system by importing a new xml file, as I noticed that only the content is changed, but I need some way to also change the metadata that already exists in the object