update tabs in index