Removed duplicate updateTabs