Correct Index Out of Bounds exc in updateTablesForNew