necessary update to tables