Update code

Support Panel and NavigationView