automatic path update