update table names in script