Fixed error in path update logic
p4#: 21209