update the tab bar item programmatically