Improved update operation for attributes with cardinality many and ref datatypes