Update the tab bar controller programmatically

Update the tab bar controller programmatically