fix add varianta not updating attributes