avoid db calls when adding a new attribute value