Make Metadata.update work using a dict as other.