update change tabs and tab content and url hash