cache and path update