/**
 * Implements hook_path_update().
 */
function {{ machine_name }}_path_update($path) {
  db_update('mytable')
    ->fields(array('alias' => $path['alias']))
    ->condition('pid', $path['pid'])
    ->execute();
}
