updating popover styles