How to update record programmatically with ECK?
After thousands of research, according to the page Creating and Modifying Entities this is the way to update an entity :

$entity = entity_load_single('entity_name', $entity_id);
$entity-&gt;title = 'new name';
$entity-&gt;save();


This will load the entity 'entity_name' with the id 'entity_id', then the title will be replace by 'new name'.

I hope its help.