[DBTables] Fix a bug that a wrong tables id is used on updating tables v...

...ersion

setupInfo.version ->
setupInfo.tablesId