function field_save($key, $value) { Vocabulary::prep_update($value); foreach ($value as $term) { if ($term instanceof Term) { $term->update(); } } }