update xrandr functions