update navigation controller