tables are working and updating