Update activenav taking only last url part