updated topbar example in docs