Added dataset set_metadata