Drupal 7 Hook_Node_Update

function hook_node_update($node) {
  db_update('mytable')
    ->fields(array(
    'extra' => $node->extra,
  ))
    ->condition('nid', $node->nid)
    ->execute();
}
Sleepy Scarab