update window switching commands