ajax path update