Update navigation code