flush dataset attributes from array when making the set