use hook_update to update data_snapshots table whenever data_snapshot node is edited