Update delete table method