Update function xdotool-command