New method updateTable(), updated to do list