update to tables