Updating table with table variable