updating navbar