Updating settings and navbar max-height