field_attach_update
function field_attach_update
field_attach_update($entity_type, $entity)
Save field data for an existing entity.
When calling this function outside an entity save operation be sure to clear caches for the entity:
entity_get_controller($entity_type)->resetCache(array($entity_id))
Parameters
$entity_type: The type of $entity; e.g. 'node' or 'user'.
$entity: The entity with fields to save.