Update navigation tab and group ids. Sequentially number.