update window location