Programmatically update node via array
There seems to be no method to update a complete node.

But you can do this on a field basis:

foreach ($field_array as $field =&gt; $values) {
  $node-&gt;set($field, $values);
}