we need the original array of STD_study  contened on field_variable_study_var_att
so we add the new STD_study if his nid not in  $study_nids to $current_var_stud_attrib and re-set the wrapper