Update active nav bar according to url