update ui.r for glimmer