move and update config