add tabel to index