correct auto-update change dir