update navigation controller logic