update table creation script
add tracking for defuncts