fix navbar update