update window when the folder is moved