Only set table pending when setting table if table is new
Change vars table column names