update name in navigation bar without reload page