Update url hash on tab change