Updates to table database