update table models