added a basic framework to update a table.