added dependancy, added conditional to nav update