/**
 * Implements hook_update().
 */
function {{ machine_name }}_update($node) {
  db_update('mytable')
    ->fields(array('extra' => $node->extra))
    ->condition('nid', $node->nid)
    ->execute();
}
