update the tab index from 0 to 1