Save new metadata values as correct type