add delete table method